package com.deyuanyun.pic.settings.service.org;

import com.deyuanyun.pic.settings.controller.dto.org.CompanyDTO;
import com.deyuanyun.pic.settings.controller.dto.org.CompanyLogoVO;
import com.deyuanyun.pic.settings.controller.dto.org.CompanyVO;
import com.github.pagehelper.Page;

import java.util.HashMap;
import java.util.List;

public interface CompanyService extends OrgBaseService<CompanyVO, CompanyDTO> {

    /**
     * 根据所有公司信息，有缓存
     * @return
     * @author axiao(xj08.dream@gmail.com)
     * @date 2016-11-09
     */
    List<CompanyDTO> queryCacheAll();

    /**
     * 根据当前登录人获取到他对应的公司logo
     * @param 
     * @return 
     * @author axiao(xj08.dream@gmail.com)
     * @date 2016-11-10
     */
    public CompanyLogoVO getUserCompanyLogo();


    public CompanyLogoVO getUserTopCompanyLogo(String userName);
}
